// console.log("Hello via Bun!");
import Koa from 'koa';
import koaStatic from './middleware/koa-static';
import path from 'path'
import koaFallback from './middleware/koa-fallback';

const app = new Koa();

app.use(koaFallback)
app.use(koaStatic(path.join(__dirname, 'public')));

app.listen(3000, () => {
  console.log('Server is running on http://localhost:3000');
});
